package cn.unknowpupil.init.service.system;

import cn.unknowpupil.init.domain.system.SysLoginInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * Created at 2020-10-20 by  w10g <br>
 * Initialize SysLoginInfo  ... <br>
 * 系统访问记录 核心业务处理接口
 *
 * @author unknowpupil
 * @since 0.0.1
 */
public interface ISysLoginInfoService extends IService<SysLoginInfo> {




    /**
     * 删除
     *
     * @param ids {@code Long}   SysLoginInfo ID
     * @return {@link SysLoginInfo}
     */
    boolean delete(Long[] ids);

    /**
     * 分页
     *
     * @param current      {@code int} 页码
     * @param size         {@code int} 笔数
     * @param sysLoginInfo {@link SysLoginInfo}
     * @return {@code IPage<SysLoginInfo>}
     */
    IPage<SysLoginInfo> page(int current, int size, SysLoginInfo sysLoginInfo);

    /**
     * 创建
     *
     * @param loginInfo
     * @return
     */
    boolean create(SysLoginInfo loginInfo);

}
